﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.ComponentModel.Composition;
using Mysoft.ServerMonitoring.OMKit.HomePage.ViewModels;
using Mysoft.ServerMonitoring.OMKit.Infrastructure;
using ProjTemp.Desktop.Common.Controls;
using Microsoft.Practices.Prism.Regions;
using ProjTemp.Desktop.Common.View;

namespace Mysoft.ServerMonitoring.OMKit.HomePage.Views
{
    /// <summary>
    /// Interaction logic for HomePage.xaml
    /// </summary>
    [ViewSortHint("03")]
    [Export(ViewTopics.HomePageTopic)]
    [PartCreationPolicy(CreationPolicy.NonShared)]
    public partial class HomePage : VBase
    {
        public HomePage()
        {
            InitializeComponent();

            this.Header = "HomePage";
        }

        [Import]
        internal HomePageViewModel ViewModel
        {
            get { return this.DataContext as HomePageViewModel; }
            set { this.DataContext = value; }
        }
    }
}
